package com.jhws.business.advertisement.service;

import com.jhws.business.advertisement.bo.TblNoticeDimBo;
import com.jhws.common.Page;

import java.util.List;
import java.util.Map;

public interface ITblNoticeDimService {
    TblNoticeDimBo findTblNoticeDimById(String NoticeId);

    Page findTblNoticeDim(int start, int num, String whereClause)
            throws Exception;

    List findTblNoticeDimByWhere(String whereClause) throws Exception;

    void removeNoticeDim(String NoticeId) throws Exception;

    TblNoticeDimBo save(TblNoticeDimBo bo) throws Exception;


    /**
     * 条件查询通知
     * @param type 通知类型
     * @param adviceNum 设备编号
     * @param date 用于增量跟新的时间
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryResourceList(String type, String adviceNum, String date) throws Exception;

    Map<String, Object> findNoticeListPage(Map param) throws Exception;
}
